Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 7 - Transform Objects / Transform Objects Reference
Transform Objects Routines / Creating and Manipulating Translate Transforms


Q3TranslateTransform_Submit

You can use the Q3TranslateTransform_Submit function to submit a translate transform without creating an object or allocating memory.

TQ3Status Q QranslateTransform_Submit (
const TQ3Vector3D *translate, 
TQ3ViewObject view);
translate
A vector whose three fields specify the desired translation along each coordinate axis.
view
A view.
DESCRIPTION
The Q3TranslateTransform_Submit function pushes the translate transform specified by the translate parameter on the view transform stack of the view specified by the view parameter. The function returns kQ3Success if the operation succeeds and kQ3Failure otherwise.

SPECIAL CONSIDERATIONS
You should call this function only in a submitting loop.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996